package com.koron.operation.classes.shift.bean.po;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.koron.bean.annocation.FillField;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * 人员调整记录(ClassesAdjustRecord)表实体类
 *
 * @author jzp
 * @since 2021-10-27
 */
@Data
@ApiModel(value = "人员调整记录", description = "ClassesAdjustRecord")
public class ClassesAdjustRecord {

    @FillField
    @ApiModelProperty(value = "唯一id")
    private String id;

    /**
     * 班次id
     */
    @ApiModelProperty("班次id")
    private String shiftId;

    /**
     * 调整时间
     */
    @FillField(alias = "createTime")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm", timezone = "GMT+8")
    @ApiModelProperty("调整时间")
    private Date adjustTime;

    /**
     * 调整前人员信息
     */
    @ApiModelProperty("调整前人员信息")
    private String beforeStaff;

    /**
     * 调整后人员信息
     */
    @ApiModelProperty("调整后人员信息")
    private String afterStaff;

    /**
     * 调整原因
     */
    @ApiModelProperty("调整原因")
    private String cause;

}

